﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BomberManServer.Gaming.Object
{
    public class Team
    {
        // Team id for webservice
        public UInt16 id { get; private set; }
        public List<Player> players { get; private set; }

        // contructor called by WebService parser
        public Team(UInt16 id)
        {
            this.id = id;
            players = new List<Player>();
        }

        public void add(Player player) { this.players.Add(player); }
    }
}
